<template>
  <Layout desc="发布订阅模式实现EventBus">
    <div class="flex flex-col gap-5 items-center mt-60">
      <On />
      <Emit />
    </div>
  </Layout>
</template>

<script setup lang="ts">
import Emit from './components/Emit.vue'
import On from './components/On.vue'
</script>

<style scoped lang="scss"></style>
